package com.hongmeng.operater.domain.newsAndVideo;

import com.hongmeng.common.annotation.Excel;
import com.hongmeng.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 视频文件信息对象 hm_video_file
 *
 * @author hongmeng
 * @date 2020-12-29
 */
public class HmVideoFile extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 视频文件id
     */
    @Excel(name = "视频文件id")
    private Integer videoFileId;

    /**
     * 视频大小(单位KB)
     */
    @Excel(name = "视频大小(单位KB)")
    private String videoSize;

    /**
     * 视频时长
     */
    @Excel(name = "视频时长")
    private String videoTime;

    /**
     * 视频源文件
     */
    @Excel(name = "视频源文件")
    private String videoSourceUrl;

    /**
     * 视频id(凭证)
     */
    @Excel(name = "视频id(凭证)")
    private String videoId;

    public void setVideoFileId(Integer videoFileId) {
        this.videoFileId = videoFileId;
    }

    public Integer getVideoFileId() {
        return videoFileId;
    }

    public void setVideoSize(String videoSize) {
        this.videoSize = videoSize;
    }

    public String getVideoSize() {
        return videoSize;
    }

    public void setVideoTime(String videoTime) {
        this.videoTime = videoTime;
    }

    public String getVideoTime() {
        return videoTime;
    }

    public void setVideoSourceUrl(String videoSourceUrl) {
        this.videoSourceUrl = videoSourceUrl;
    }

    public String getVideoSourceUrl() {
        return videoSourceUrl;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public String getVideoId() {
        return videoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("videoFileId", getVideoFileId())
                .append("videoSize", getVideoSize())
                .append("videoTime", getVideoTime())
                .append("videoSourceUrl", getVideoSourceUrl())
                .append("videoId", getVideoId())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .toString();
    }
}